import BasicLayout from "@/layouts/BasicLayout";
import PageAntv from "@/views/data/Antv";
import PageECharts from "@/views/data/ECharts";
import PageHigtcharts from "@/views/data/Highcharts";
import { RouteRecordWithMenuItem } from "../types";

export default {
  path: "/data",
  key: "/data",
  label: "数据可视化",
  sort: 0,
  element: <BasicLayout />,
  children: [
    {
      path: "echarts",
      key: "/data/echarts",
      label: "echarts",
      element: <PageECharts />,
    },
    {
      path: "higtcharts",
      key: "/data/higtcharts",
      label: "higtcharts",
      element: <PageHigtcharts />,
    },
    {
      path: "antv",
      key: "/data/antv",
      label: "antv",
      element: <PageAntv />,
    },
  ],
} as RouteRecordWithMenuItem;
